﻿#pragma once

#include <SDL3/SDL.h>
#include <SDL3_image/SDL_image.h>

// 全局常量
const int MOVE_SPEED = 2;
const int BOX_SPEED = 1;
const int GROUND_HEIGHT = 400;
const int SCREEN_WIDTH = 800;
const int SCREEN_HEIGHT = 600;
const int FPS = 120;
const Uint64 FRAME_DELAY = 1000 / FPS;
const float GRAVITY = 0.1f;
const float JUMP_STRENGTH = 5.0f;
const int PLAYER_WIDTH = 10;
const int PLAYER_HEIGHT = 22;
const int BOX_WIDTH = 22;
const int BOX_HEIGHT = 22;
const float DISTANCE_MIN = 5;